//
//  WYVideoCrypt.h
//  VedioDESEncrypt
//
//  Created by Creative on 15/12/9.
//  Copyright © 2015年 Creative. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface WYCryptDES : NSObject {
    
}


+ (NSData *) encryptData:(NSData *)data key:(NSString *)key;//核心算法
+ (NSData *) decryptData:(NSData *)data key:(NSString*)key;//核心算法


+ (BOOL) encryptFile:(NSString *)inFile toFile:(NSString *)outFile withKey:(NSString *)key;
+ (BOOL) decryptFile:(NSString *)inFile toFile:(NSString *)outFile withKey:(NSString *)key;


+ (NSData *) encryptFileData:(NSData *)data key:(NSString *)key;//未实行
+ (NSData *) decryptFileData:(NSData *)data key:(NSString*)key;

+ (NSData *) encryptFile:(NSString *)inFile withKey:(NSString*)key;//未实行
+ (NSData *) decryptFile:(NSString *)inFile withKey:(NSString*)key;


@end
